INCLUDE "config_private.inc"

defc VDPControlPort  = __IO_VDP_COMMAND
defc VDPStatusPort   = __IO_VDP_STATUS
defc VDPDataPort     = __IO_VDP_DATA

defc VDPVCounterPort = __IO_GUN_SPOT_VERTICAL
defc VDPHCounterPort = __IO_GUN_SPOT_HORIZONTAL
 
defc IOPortL         = __IO_JOYSTICK_READ_L
defc IOPortH         = __IO_JOYSTICK_READ_H
defc IOPortCtrl      = __IO_JOYSTICK_PORT_CONTROL

defc TH_HI = 0xf5
defc TH_LO = 0xd5

defc SMS_PNTAddress  = __SMSLIB_PNTADDRESS
defc SMS_SATAddress  = __SMSLIB_SATADDRESS
defc SMS_CRAMAddress = __SMSLIB_CRAMADDRESS

defc MAXSPRITES     = __SMSLIB_MAXSPRITES

defc VDP_PAL  = __SMSLIB_VDP_PAL
defc VDP_NTSC = __SMSLIB_VDP_NTSC

defc SPRITEMODE_TALL   = __SMSLIB_SPRITEMODE_TALL
defc SPRITEMODE_ZOOMED = __SMSLIB_SPRITEMODE_ZOOMED

defc VDPFEATURE_USETALLSPRITES = __SMSLIB_VDPFEATURE_USETALLSPRITES
defc VDPFEATURE_ZOOMSPRITES    = __SMSLIB_VDPFEATURE_ZOOMSPRITES

IFNDEF __NONEED

   EXTERN asm_SMSlib_init
   defc __NEED_ASM_SMSLIB_INIT = asm_SMSlib_init

ENDIF
